package com.job.zhaokaiqiang;

/**
 * @author DELL
 * @version 1.0
 * @since 2022-07-06 16:31:04
 */
public class text0705 {
    public static void main(String[] args) {
        Student xiaoming =new Student();
        xiaoming.name="小明";
        xiaoming.hege(90);
        Student xiaohong =new Student("小红");
        System.out.println(xiaohong.name);
        Student xiaogang =new Student(70, 80, 80, "小刚");
        System.out.println("小刚的数学成绩是"+xiaogang.shuxue);
        xiaogang=null;
        System.out.println("小刚的数学成绩是"+xiaogang.shuxue);
    }
}
